﻿<%@ Page Language="c#" ContentType="text/html" ResponseEncoding="utf-8" Async="true" MasterPageFile="~/administration/list_private.master" Inherits="ACM.cmsarea08.Administration.Core.GesUsers" %>
<%@ MasterType VirtualPath="~/administration/list_private.master" %>
<asp:Content ID="PageBody" Runat="server" ContentPlaceHolderID="MasterBody">
<h1><img src="../template/admimg/user_big.jpg" alt="User Manager" />Gestione Utenti</h1>
<div style="clear:both;" class="filterSpace">

<div style="float:left; width:36%;">
<asp:DropDownList ID="dropmenu" runat="server"></asp:DropDownList>
<asp:Button id="ref_btn" runat="server" Text=""></asp:Button>
</div>
<div style="float:right; width:45%;"><asp:Label id="warnme" runat="server"></asp:Label></div>
<asp:PlaceHolder id="alf_filtro" runat="server"></asp:PlaceHolder></div>



<div style="clear:both;">

<ptl:Itan_DataGrid id="insVoci" runat="Server" Title="Gestione Utenti" ShowTitle="true" autogeneratecolumns="false" ExtendedPager="false" PageNum="1" CurrentPage="1" SelectColumn="true" SelectColumnField="id" CheckingColumn="false" EOrdinabile="false" CssClass="DGridClass"  JavascriptSort="false"  >
<headerstyle Font-Bold="true" CssClass="headDGrid"></headerstyle>
<alternatingitemstyle BackColor="#e1e1e1"></alternatingitemstyle>
<columns>
<asp:BoundColumn DataField="id" Visible="false" ></asp:BoundColumn>
	<asp:TemplateColumn ItemStyle-CssClass="title_tree">
    	<headertemplate>nome utente</headertemplate>
    	<itemtemplate>
        	<a href="view_user.aspx?new=0&idf=<%# Eval("CurrentUserManager") %>&idu=<%# Eval("id") %>"><strong><%# Eval("username") %></strong></a>
        </itemtemplate>
    </asp:TemplateColumn>
	<asp:TemplateColumn>
    	<headertemplate>email</headertemplate>
    	<itemtemplate>
        	<a href="mailto:<%# Eval("email") %>"><%# Eval("email") %></a>
        </itemtemplate>
    </asp:TemplateColumn>  
	<asp:TemplateColumn>
    	<headertemplate>registrato il</headertemplate>
    	<itemtemplate>
        	<%# Eval("data_ins") %>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn>
    	<headertemplate>Ruoli</headertemplate>
    	<itemtemplate>
        	
            <asp:DropDownList ID="dropruoli" Visible="false" runat="server" ></asp:DropDownList>
            <asp:LinkButton id="changerole" runat="server" ></asp:LinkButton>
            <asp:Label ID="labruoli" Visible="false" runat="server" ></asp:Label>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn >
    	<headertemplate><acronym title="<%# rm.GetString("enabled_disabled") %>">Bloccato</acronym></headertemplate>
    	<itemtemplate>
        	<asp:LinkButton id="enable_me" runat="server"></asp:LinkButton>
			<%# Eval("islockedout")%>
        </itemtemplate>
    </asp:TemplateColumn> 
	<asp:TemplateColumn>
    	<headertemplate><acronym title="<%# rm.GetString("enabled_disabled") %>">Abilitato</acronym></headertemplate>
    	<itemtemplate>
        	<a class="jmscmd"><img src="/administration/template/img/spacer.gif" class="jmsenabled<%#Eval("enabled")%>_sm" /></a>
        </itemtemplate>
    </asp:TemplateColumn>    
	<asp:TemplateColumn>
    	<headertemplate><%# rm.GetString("last_edit") %></headertemplate>
    	<itemtemplate>
        	<%# Eval("data_mod") %>
        </itemtemplate>
    </asp:TemplateColumn>           
</columns>
</ptl:itan_datagrid>
<input type="hidden" id="_idm" runat="server" />
<input type="hidden" value="valoremiochestaisullacollina" id="_idtemplate" runat="server" />



</div>
</asp:content>